//
//  AuthHelper.h
//  WindRunner
//
//  Created by leeqb on 11/4/14.
//  Copyright (c) 2014 poweropt. All rights reserved.
//

@interface AuthHelper : NSObject

+ (BOOL)isLogin;
+ (NSDictionary *)getCurrentUser;
+ (void)setCurrentUser:(NSDictionary *)userInfo;
+ (void)checkLogin:(void (^)(NSDictionary *userInfo))success failed:(void (^)(NSError *error))failed;
+ (void)onLoginSuccess:(NSDictionary *)userInfo;
+ (void)onLoginFailed:(NSError *)error;
+ (void)logout;

@end
